#include <iostream>
using namespace std;
int main()
{
    static int a = 0;
    auto pfn = [a = a] () mutable {
        a++;
    };
    pfn();
    cout << a << endl;
    return 0;
}